Class CommandRunner

Summary

Fully Qualified Name: CodeIgniter\CLI\CommandRunner
Extends: Controller

Description

Command runner

Methods

Name Description Defined By
_remap() We map all un-routed CLI methods through this function so we have the chance to look for a Command first. CommandRunner
getCommands() Allows access to the current commands that have been found. CommandRunner
index() Default command. CommandRunner
initController() Constructor. Controller

Method Details

_remap()

We map all un-routed CLI methods through this function so we have the chance to look for a Command first.

Parameter Name Type Description
$method string
...$params array
$params

Returns: mixed

getCommands()

Allows access to the current commands that have been found.

Returns: array

index()

Default command.

Parameter Name Type Description
$params array

Returns: mixed

initController()

Constructor.

Parameter Name Type Description
$request \RequestInterface
$response \ResponseInterface
$logger \Psr\Log\LoggerInterface

Returns:

Top